/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.groupa.project1.database;

import com.groupa.project1.database.interfaces.Photo;
import java.io.Serializable;

/**
 *
 * @author Alonso
 */
public class PhotoClass implements Photo,Serializable{
    
    String title, path, description, date, author;
    String phone;
    String name;
    
    public PhotoClass(String path, String date, String author){
        
        this.path=path;
        this.date=date;
        this.author=author;
        
    }
    public void setPhone(String phone){
        this.phone=phone;
    }
    public void setTitle(String title){
        this.title=title;
    }
    
    public void setDescription(String description){
        this.description=description;
    }
    public String getTitle(){
        return title;
    }
    
    public String getPath(){
        return path;
    }
    
    public String getDescription(){
        return description;
    }
    
    public String getAuthor(){
        return author;
    }
    public void setName(String name){
       this.name=name;
   }
    
    public String getName(){
      return name;
    }
    
    public String getDate(){
        return date;
    }
    
    public String getPhone(){
        return phone;
    }
}